package ooww.ssww.strong.wechat.component;

import android.content.Context;
import ooww.ssww.strong.wechat.modules.ApplicationModule;
import iiww.ssww.mmww.clean.base.BaseFragmentActivity;
import javax.inject.Singleton;
import dagger.Component;

/**
 * A component whose lifetime is the life of the application.
 */
// Constraints this component to one-per-application or unscoped bindings.
@Singleton
@Component(modules = ApplicationModule.class)
public interface ApplicationComponent {

    void inject(BaseFragmentActivity base);

    // Exposed to sub-graphs.
    Context context();
    /* ThreadExecutor threadExecutor();

    PostExecutionThread postExecutionThread();

    UserRepository userRepository();
    TaskManager taskManager();
    SearchRepository searchRepository();
    SplashPageRepository splashPageRepository();*/
}
